package com.wj.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.common.pojo.TPostContent;
import com.wj.mapper.TPostContentMapper;
import com.wj.service.ITPostContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 帖子内容表 服务实现类
 * </p>
 *
 * @author author
 * @since 2025-10-06
 */
@Service
public class TPostContentServiceImpl extends ServiceImpl<TPostContentMapper, TPostContent> implements ITPostContentService {
    @Autowired
    private TPostContentMapper tPostContentMapper;

    @Override
    public Integer getFloor(Long contentId) {
        return tPostContentMapper.getFloor(contentId);
    }
}
